﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000BC5 RID: 3013
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MonopolyReRollRandomScRsp : IMessage<MonopolyReRollRandomScRsp>, IMessage, IEquatable<MonopolyReRollRandomScRsp>, IDeepCloneable<MonopolyReRollRandomScRsp>, IBufferMessage
	{
		// Token: 0x170025F2 RID: 9714
		// (get) Token: 0x060086BA RID: 34490 RVA: 0x00166027 File Offset: 0x00164227
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MonopolyReRollRandomScRsp> Parser
		{
			get
			{
				return MonopolyReRollRandomScRsp._parser;
			}
		}

		// Token: 0x170025F3 RID: 9715
		// (get) Token: 0x060086BB RID: 34491 RVA: 0x0016602E File Offset: 0x0016422E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MonopolyReRollRandomScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170025F4 RID: 9716
		// (get) Token: 0x060086BC RID: 34492 RVA: 0x00166040 File Offset: 0x00164240
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MonopolyReRollRandomScRsp.Descriptor;
			}
		}

		// Token: 0x060086BD RID: 34493 RVA: 0x00166047 File Offset: 0x00164247
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyReRollRandomScRsp()
		{
		}

		// Token: 0x060086BE RID: 34494 RVA: 0x00166050 File Offset: 0x00164250
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyReRollRandomScRsp(MonopolyReRollRandomScRsp other) : this()
		{
			this.eventId_ = other.eventId_;
			this.lHMKHBFOLHE_ = ((other.lHMKHBFOLHE_ != null) ? other.lHMKHBFOLHE_.Clone() : null);
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060086BF RID: 34495 RVA: 0x001660A8 File Offset: 0x001642A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MonopolyReRollRandomScRsp Clone()
		{
			return new MonopolyReRollRandomScRsp(this);
		}

		// Token: 0x170025F5 RID: 9717
		// (get) Token: 0x060086C0 RID: 34496 RVA: 0x001660B0 File Offset: 0x001642B0
		// (set) Token: 0x060086C1 RID: 34497 RVA: 0x001660B8 File Offset: 0x001642B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x170025F6 RID: 9718
		// (get) Token: 0x060086C2 RID: 34498 RVA: 0x001660C1 File Offset: 0x001642C1
		// (set) Token: 0x060086C3 RID: 34499 RVA: 0x001660C9 File Offset: 0x001642C9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public ADNEJCJKBNF LHMKHBFOLHE
		{
			get
			{
				return this.lHMKHBFOLHE_;
			}
			set
			{
				this.lHMKHBFOLHE_ = value;
			}
		}

		// Token: 0x170025F7 RID: 9719
		// (get) Token: 0x060086C4 RID: 34500 RVA: 0x001660D2 File Offset: 0x001642D2
		// (set) Token: 0x060086C5 RID: 34501 RVA: 0x001660DA File Offset: 0x001642DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x060086C6 RID: 34502 RVA: 0x001660E3 File Offset: 0x001642E3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MonopolyReRollRandomScRsp);
		}

		// Token: 0x060086C7 RID: 34503 RVA: 0x001660F4 File Offset: 0x001642F4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MonopolyReRollRandomScRsp other)
		{
			return other != null && (other == this || (this.EventId == other.EventId && object.Equals(this.LHMKHBFOLHE, other.LHMKHBFOLHE) && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060086C8 RID: 34504 RVA: 0x00166154 File Offset: 0x00164354
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this.lHMKHBFOLHE_ != null)
			{
				num ^= this.LHMKHBFOLHE.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060086C9 RID: 34505 RVA: 0x001661C2 File Offset: 0x001643C2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060086CA RID: 34506 RVA: 0x001661CA File Offset: 0x001643CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060086CB RID: 34507 RVA: 0x001661D4 File Offset: 0x001643D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.lHMKHBFOLHE_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.LHMKHBFOLHE);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this.EventId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.EventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060086CC RID: 34508 RVA: 0x0016624C File Offset: 0x0016444C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this.lHMKHBFOLHE_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.LHMKHBFOLHE);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060086CD RID: 34509 RVA: 0x001662BC File Offset: 0x001644BC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MonopolyReRollRandomScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			if (other.lHMKHBFOLHE_ != null)
			{
				if (this.lHMKHBFOLHE_ == null)
				{
					this.LHMKHBFOLHE = new ADNEJCJKBNF();
				}
				this.LHMKHBFOLHE.MergeFrom(other.LHMKHBFOLHE);
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060086CE RID: 34510 RVA: 0x00166338 File Offset: 0x00164538
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060086CF RID: 34511 RVA: 0x00166344 File Offset: 0x00164544
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 40U)
					{
						if (num != 48U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.EventId = input.ReadUInt32();
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.lHMKHBFOLHE_ == null)
					{
						this.LHMKHBFOLHE = new ADNEJCJKBNF();
					}
					input.ReadMessage(this.LHMKHBFOLHE);
				}
			}
		}

		// Token: 0x04003351 RID: 13137
		private static readonly MessageParser<MonopolyReRollRandomScRsp> _parser = new MessageParser<MonopolyReRollRandomScRsp>(() => new MonopolyReRollRandomScRsp());

		// Token: 0x04003352 RID: 13138
		private UnknownFieldSet _unknownFields;

		// Token: 0x04003353 RID: 13139
		public const int EventIdFieldNumber = 6;

		// Token: 0x04003354 RID: 13140
		private uint eventId_;

		// Token: 0x04003355 RID: 13141
		public const int LHMKHBFOLHEFieldNumber = 2;

		// Token: 0x04003356 RID: 13142
		private ADNEJCJKBNF lHMKHBFOLHE_;

		// Token: 0x04003357 RID: 13143
		public const int RetcodeFieldNumber = 5;

		// Token: 0x04003358 RID: 13144
		private uint retcode_;
	}
}
